<?php if ($connections->count() == 0): ?>
    <div class="no-items">There's no one following you currently.</div>
<?php endif; ?>
<?php foreach ($connections as $connection): ?>
    <?php $follower = $connection->getFollower() ?>
    <?php $doctor = $follower->getDoctor() ?>
    <div class="connection-row">
        <div class="inline-block connection-column-1st">
            <div class="connection-doctor-photo">
                <a href="<?php echo url_for('@profile_public?slug=' . $follower->getSlug()) ?>"><?php include_partial("doctor_show/potrait", array("doctor" => $doctor, "height" => 50)) ?></a>
            </div>
        </div>
        <div class="inline-block connection-column-2nd">
            <div class="connection-doctor-info">
                <a href="<?php echo url_for('@profile_public?slug=' . $follower->getSlug()) ?>" class="name-title"><?php echo $follower ?></a>
                <div class="connnection-doctor-speciality"><?php echo $doctor->getSpeciality() ?></div>
            </div>
        </div>
        <div class="inline-block connection-column-3rd">
            <div class="connection-doctor-level">Level <?php echo floor($doctor->getLevel()->getPoints() / 10) ?></div>
            <div class="connection-doctor-contribution">12 people helped</div>
            <div class="connection-followers"><?php echo $follower->getFollowers()->count() ?> follower(s)</div>
        </div>
        <div class="inline-block connection-column-4th">
            <div class="connection-follow">Follower</div>
        </div>
    </div>
<?php endforeach; ?>